<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<?php
session_start();
include '../class/TemplateClass.php';
include_once '../component/ComboboxClass.php';
include_once '../component/datagrid/TableGridClass.php';
?>
<html>
    <head>
        <meta charset="UTF-8">

        <title>
            <?php
            TemplateClass::TITLE();
            ?>
        </title>
        <?php
        TemplateClass::LIB("../");
        TableGridClass::LIB("../");
        $tbGrid = new TableGridClass();
        ?>





    </head>
    <body>
        <div class="navbar navbar-default">
            <div class="container">
                <?php
                TemplateClass::MENU_BAR("../");
                ?>


            </div>
        </div>

        <div class="container">

            <form method="post" action="../../model/UsuarioPrincipalController.php">
                <?php TemplateClass::MAIN_HEADER("Cadastro de Usuário") ?>
                <div id="message">
                    <?php
                    include_once '../component/MessageClass.php';
                    MessageClass::show();
                    ?>
                </div>
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <h3 class="panel-title">Dados do Usuário</h3>
                    </div>
                    <div class="panel-body">
                        <div class="form-group">
                            <div class="row">
                                <div class="col-md-9">  
                                    <label for="inputEmail"> Nome:</label>
                                    <input  type="text" class="form-control" id="nome" name="nome" placeholder="Digite aqui o nome de usuário que deseja pesquisar" maxlength="100">
                                </div>
                                <div class="col-md-3">   
                                    <label for="inputEmail"> CPF:</label>
                                    <input  type="text" class="form-control" id="cpf" name="cpf" placeholder="Digite o CPF" maxlength="30">
                                </div>
                            </div>

                        </div>



                    </div>
                </div>

                <div>
                </div>

                <?php TemplateClass::SEARCH_BUTTON(); ?>
            </form>

            <?php TemplateClass::CREATE_BUTTON("IncluirUsuario.php","Criar Novo Usuário"); ?>

        </div>

    </div>

    <div class="container">

        <?php
        $tbGrid->showTable();
        ?>

    </div>


</body>
</html>
